package com.core.family.admin.domain.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author honglei
 * @version 1.0
 * @time: 2022-6-10 11:46:34
 * @Description PO对象
 */
@Data
@TableName(value = "user_extend")
public class UserExtend implements Serializable {


    /*
     *  用户id同平台用户表
     */
    @TableField(value = "id")
    private Integer id;

    /*
     *
     */
    @TableField(value = "org_id")
    private Integer orgId;

    /*
     *  昵称
     */

    @TableField(value = "nickname")
    private String nickname;

    /*
     *
     */

    @TableField(value = "province_code")
    private String provinceCode;

    /*
     *
     */

    @TableField(value = "city_code")
    private String cityCode;

    /*
     *  乡镇
     */

    @TableField(value = "town")
    private String town;

    /*
     *  详细地址
     */

    @TableField(value = "address")
    private String address;

    /*
     *
     */

    @TableField(value = "profile")
    private String profile;

    /*
     *
     */

    @TableField(value = "avatar")
    private String avatar;

    /*
     *  状态
     */
    @TableField(value = "status")
    private Integer status;

    /*
     *
     */
    @TableField(value = "is_del")
    private Integer isDel;

    /*
     *
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "create_time")
    private Date createTime;

    /*
     *
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "update_time")
    private Date updateTime;

}
